package cn.aitrox.ry.service.anno.api;

import cn.aitrox.ry.bean.RespResult;
import cn.aitrox.ry.service.anno.dto.anno.lesion.result.in.AlrLesionUpdateInDto;
import cn.aitrox.ry.service.anno.dto.anno.lesion.result.in.AlrMaskCreateInDto;
import cn.aitrox.ry.service.anno.dto.anno.lesion.result.in.AlrMaskUpdateInDto;
import cn.aitrox.ry.service.anno.dto.anno.lesion.result.in.AlrPointCreateInDto;
import cn.aitrox.ry.service.anno.dto.anno.lesion.result.in.AlrPointUpdateInDto;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface LesionResultApi {

    @PostMapping(value = "/anno/lesion/result/point")
    RespResult<Integer> pointCreate(@RequestBody AlrPointCreateInDto input);

    @PutMapping(value = "/anno/lesion/result/point")
    RespResult pointUpdate(@RequestBody AlrPointUpdateInDto input);

    @DeleteMapping(value = "/anno/lesion/result/{alrId}")
    RespResult delete(@PathVariable("alrId") Integer alrId);

    @PostMapping(value = "/anno/lesion/result/mask")
    RespResult<Integer> maskCreate(@RequestBody AlrMaskCreateInDto input);

    @PutMapping(value = "/anno/lesion/result/mask")
    RespResult maskUpdate(@RequestBody AlrMaskUpdateInDto input);

    @PutMapping(value = "/anno/lesion/result/lesion/update")
    RespResult lesionUpdate(@RequestBody AlrLesionUpdateInDto input);
}
